import {CommonValidationConfig} from "~/resource/types/common/common-validation-config";

export class AddResourceGroupValidationConfig extends CommonValidationConfig {
    codeMinLength: number
    nameMinLength: number

    constructor(_codeMaxLength: number, _nameMaxLength: number, _codeMinLength: number, _nameMinLength: number) {
        super(_codeMaxLength, _nameMaxLength)
        this.codeMinLength = _codeMinLength;
        this.nameMinLength = _nameMinLength;
    }
}